//
//  AbnormalLoginView.m
//  DiceGame
//
//  Created by 航汇聚科技 on 2017/8/10.
//  Copyright © 2017年 Yi Zhou. All rights reserved.
//

#import "AbnormalLoginView.h"

#import "Masonry.h"

#import "MacroDefinition.h"

@interface AbnormalLoginView ()<UITextFieldDelegate>

/*
 @property phoneLabel
 @abstract 电话号码Label
 */
@property (weak, nonatomic) IBOutlet UILabel *phoneLabel;


/*
 @property inputCodeTextField
 @abstract 验证码输入框
 */
@property (weak, nonatomic) IBOutlet UITextField *inputCodeTextField;


/*
 @property codeSendButton 
 @abstract 验证码发送按钮
 */
@property (weak, nonatomic) IBOutlet UIButton *codeSendButton;


/*
 @property loginButton
 @abstract 登录按钮
 */
@property (weak, nonatomic) IBOutlet UIButton *loginButton;


@end

@implementation AbnormalLoginView


- (void)awakeFromNib {
    [super awakeFromNib];
    
}

#pragma mark - button action
- (IBAction)touchAbnormalLoginBackgroundAction:(UIButton *)sender {
    YLog(@"点击异常登录背景");
}


#pragma mark - delegate
//MARK:UITextFieldDelegate
- (BOOL)textFieldShouldReturn:(UITextField *)textField {
    return [textField resignFirstResponder];
}

#pragma mark - button action
- (IBAction)sendCodeAction:(UIButton *)sender {
    YLog(@"点击发送验证码")
}

- (IBAction)loginAction:(UIButton *)sender {
    YLog(@"点击登录");
}


@end
